home *** CD-ROM | disk | FTP | other *** search
- //
- // **************************************************************
- // JdeBP C++ Library Routines General Public Licence v1.00
- // Copyright (c) 1991,1992 Jonathan de Boyne Pollard
- // **************************************************************
- //
- // MANDATORY FILE LOCKING (SYSTEM V)
- //
-
- #if !defined(__STDDEF_H_INCLUDED)
- #include <_stddef.h>
- #endif
-
- #if !defined(_SYS_LOCKING_H_INCLUDED)
-
- #define LK_UNLCK 0 /* unlock the file region */
- #define LK_LOCK 1 /* lock the file region */
- #define LK_NBLCK 2 /* non-blocking lock */
- #define LK_RLCK 3 /* lock for writing */
- #define LK_NBRLCK 4 /* non-blocking lock for writing */
-
- #define _SYS_LOCKING_H_INCLUDED
- #endif